﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GamedataLibrary.Jutsus
{
    /// <summary>
    /// Obranne bojove techniky.
    /// </summary>
    public class DefenseJutsu : Jutsu
    {
        /// <summary>
        /// Cislo udavajici obranu
        /// </summary>
        int defense;

        /// <summary>
        /// Vrati hodnotu defense.
        /// </summary>
        public int Defense { get { return defense; } }

        /// <summary>
        /// Vytvori instanci DefenseJutsu.
        /// </summary>
        /// <param name="name">Jmeno techniky.</param>
        /// <param name="defense">Hodnota defense.</param>
        public DefenseJutsu(string name, int defense, int chance, int cooldown)
        {
            this.name = name;
            this.defense = defense;
            this.chance = chance;
            this.cooldown = cooldown;
        }
    }
}
